package com.gzhryc.net_marketing.cloud.micro.api.dto.v1.order;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.gzhryc.common.api.SecurityResponse;

public class MemberOrderInfoResponse extends SecurityResponse<MemberOrderInfoResponse.Body> {

	private static final long serialVersionUID = 1L;

	public MemberOrderInfoResponse() {
		this.body = new Body();
	}

	public MemberOrderInfoResponse(Integer code) {
		this.body = new Body();
		this.code = code;
	}

	public MemberOrderInfoResponse(Integer code, String msg) {
		this.body = new Body();
		this.code = code;
		this.msg = msg;
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private String tradeNo;
		private Integer businessType;
		private String businessTypeName;
		private Long goodsId;
		private String goodsName;
		private String goodsSpaceName;
		private String goodsImg;
		private String goodsMoney;
		private String money;
		private String payMoney;
		private String logisticsMoney;
		private String couponMoney;
		private Integer virtualMoney;
		private Integer classify;
		private Integer goodsCount;
		private Integer supplyState;	//供货确认
		private Integer state;
		private String stateName;
		private Integer payType;
		private String payTypeName;
		private String note;
		private String createDate;
		private TeamPayInfo teamPayInfo;
		private MailAddress mailAddress;

		public String getTradeNo() {
			return tradeNo;
		}

		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}

		public Integer getBusinessType() {
			return businessType;
		}

		public void setBusinessType(Integer businessType) {
			this.businessType = businessType;
		}

		public String getBusinessTypeName() {
			return businessTypeName;
		}

		public void setBusinessTypeName(String businessTypeName) {
			this.businessTypeName = businessTypeName;
		}

		public Long getGoodsId() {
			return goodsId;
		}

		public void setGoodsId(Long goodsId) {
			this.goodsId = goodsId;
		}

		public String getGoodsSpaceName() {
			return goodsSpaceName;
		}

		public void setGoodsSpaceName(String goodsSpaceName) {
			this.goodsSpaceName = goodsSpaceName;
		}

		public String getGoodsName() {
			return goodsName;
		}

		public void setGoodsName(String goodsName) {
			this.goodsName = goodsName;
		}

		public String getGoodsImg() {
			return goodsImg;
		}

		public void setGoodsImg(String goodsImg) {
			this.goodsImg = goodsImg;
		}

		public String getGoodsMoney() {
			return goodsMoney;
		}

		public void setGoodsMoney(String goodsMoney) {
			this.goodsMoney = goodsMoney;
		}

		public String getMoney() {
			return money;
		}

		public void setMoney(String money) {
			this.money = money;
		}

		public String getPayMoney() {
			return payMoney;
		}

		public void setPayMoney(String payMoney) {
			this.payMoney = payMoney;
		}

		public String getLogisticsMoney() {
			return logisticsMoney;
		}

		public void setLogisticsMoney(String logisticsMoney) {
			this.logisticsMoney = logisticsMoney;
		}

		public String getCouponMoney() {
			return couponMoney;
		}

		public void setCouponMoney(String couponMoney) {
			this.couponMoney = couponMoney;
		}
		
		public Integer getVirtualMoney() {
			return virtualMoney;
		}

		public void setVirtualMoney(Integer virtualMoney) {
			this.virtualMoney = virtualMoney;
		}

		public Integer getClassify() {
			return classify;
		}

		public void setClassify(Integer classify) {
			this.classify = classify;
		}

		public Integer getGoodsCount() {
			return goodsCount;
		}

		public void setGoodsCount(Integer goodsCount) {
			this.goodsCount = goodsCount;
		}

		public Integer getSupplyState() {
			return supplyState;
		}

		public void setSupplyState(Integer supplyState) {
			this.supplyState = supplyState;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public String getStateName() {
			return stateName;
		}

		public void setStateName(String stateName) {
			this.stateName = stateName;
		}

		public Integer getPayType() {
			return payType;
		}

		public void setPayType(Integer payType) {
			this.payType = payType;
		}

		public String getPayTypeName() {
			return payTypeName;
		}

		public void setPayTypeName(String payTypeName) {
			this.payTypeName = payTypeName;
		}

		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public String getCreateDate() {
			return createDate;
		}

		public void setCreateDate(String createDate) {
			this.createDate = createDate;
		}

		public TeamPayInfo getTeamPayInfo() {
			return teamPayInfo;
		}

		public void setTeamPayInfo(TeamPayInfo teamPayInfo) {
			this.teamPayInfo = teamPayInfo;
		}

		public MailAddress getMailAddress() {
			return mailAddress;
		}

		public void setMailAddress(MailAddress mailAddress) {
			this.mailAddress = mailAddress;
		}
	}

	public static class TeamPayInfo implements Serializable {

		private static final long serialVersionUID = 1L;

		private Long applyId;
		private Integer teamMemberTotal;
		private Integer state;
		private List<TeamPayInfoMember> members;

		public TeamPayInfo() {
			this.members = new ArrayList<TeamPayInfoMember>();
		}

		public Long getApplyId() {
			return applyId;
		}

		public void setApplyId(Long applyId) {
			this.applyId = applyId;
		}

		public Integer getTeamMemberTotal() {
			return teamMemberTotal;
		}

		public void setTeamMemberTotal(Integer teamMemberTotal) {
			this.teamMemberTotal = teamMemberTotal;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public List<TeamPayInfoMember> getMembers() {
			return members;
		}

		public void setMembers(List<TeamPayInfoMember> members) {
			this.members = members;
		}
	}

	public static class TeamPayInfoMember implements Serializable {

		private static final long serialVersionUID = 1L;

		private Long memberId;
		private String nickname;
		private String faceImg;
		private Integer type;

		public Long getMemberId() {
			return memberId;
		}

		public void setMemberId(Long memberId) {
			this.memberId = memberId;
		}

		public String getNickname() {
			return nickname;
		}

		public void setNickname(String nickname) {
			this.nickname = nickname;
		}

		public String getFaceImg() {
			return faceImg;
		}

		public void setFaceImg(String faceImg) {
			this.faceImg = faceImg;
		}

		public Integer getType() {
			return type;
		}

		public void setType(Integer type) {
			this.type = type;
		}
	}

	public static class MailAddress implements Serializable {

		private static final long serialVersionUID = 1L;

		private Long id;
		private String receiveName;
		private String receivePhone;
		private String receiveAddress;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getReceiveName() {
			return receiveName;
		}

		public void setReceiveName(String receiveName) {
			this.receiveName = receiveName;
		}

		public String getReceivePhone() {
			return receivePhone;
		}

		public void setReceivePhone(String receivePhone) {
			this.receivePhone = receivePhone;
		}

		public String getReceiveAddress() {
			return receiveAddress;
		}

		public void setReceiveAddress(String receiveAddress) {
			this.receiveAddress = receiveAddress;
		}

	}

}
